var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = require('mongoose').Schema.Types.ObjectId;
// Define User schema 
var _discuss = new Schema({ 
    lessionid : {type:ObjectId},
    name : String,
    content : [],
    desc : String,
    create_time: { type: Date, default: Date.now },
    update_time: { type: Date, default: Date.now }
});
// export them 
exports.discuss = mongoose.model('discuss', _discuss);